import moment from "moment"
moment.locale("zh-cn")
const timeForamt = {
    getTime: (date) => {
        return moment(date).format('YYYY-MM-DD HH:mm')
    }
}

export default timeForamt